﻿using GalaSoft.MvvmLight;
using ERTesting.Model.Config;

namespace ERTesting.Gui.ViewModel.Config
{
    /// <summary>
    /// This class contains properties that a View can data bind to.
    /// <para>
    /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
    /// </para>
    /// <para>
    /// You can also use Blend to data bind with the tool's support.
    /// </para>
    /// <para>
    /// See http://www.galasoft.ch/mvvm/getstarted
    /// </para>
    /// </summary>
    public class TestGroupViewModel : ViewModelBase
    {

        #region Public Properties
        
        public TestGroup Group
        {
            get;
            private set;
        }

        public string DisplayName
        {
            get
            {
                return Group.Name;
            }
        }

        #endregion Public Properties

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the TestGroupViewModel class.
        /// </summary>
        public TestGroupViewModel(TestGroup group)
        {
            Group = group;
        }

        #endregion Constructors

        ////public override void Cleanup()
        ////{
        ////    // Clean own resources if needed

        ////    base.Cleanup();
        ////}
    }
}